package com.onlinemarket.thrid.domain;

import java.io.Serializable;

import org.springframework.stereotype.Component;

/**
 * 对应warehouse(仓库)表
 * 
 * @author LHC
 *
 */
@Component
public class WareHouse implements Serializable {
	private static final long serialVersionUID = 5427592067044719756L;
	private int warehouse_id;
	private String warehouse_name;
	private String warehouse_address;

	public WareHouse() {
	}

	public WareHouse(int warehouse_id, String warehouse_name, String warehouse_address) {
		this.warehouse_id = warehouse_id;
		this.warehouse_name = warehouse_name;
		this.warehouse_address = warehouse_address;
	}

	public int getWarehouse_id() {
		return warehouse_id;
	}

	public void setWarehouse_id(int warehouse_id) {
		this.warehouse_id = warehouse_id;
	}

	public String getWarehouse_name() {
		return warehouse_name;
	}

	public void setWarehouse_name(String warehouse_name) {
		this.warehouse_name = warehouse_name;
	}

	public String getWarehouse_address() {
		return warehouse_address;
	}

	public void setWarehouse_address(String warehouse_address) {
		this.warehouse_address = warehouse_address;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	@Override
	public String toString() {
		return "WareHouse [warehouse_id=" + warehouse_id + ", warehouse_name=" + warehouse_name + ", warehouse_address="
				+ warehouse_address + "]";
	}

}
